Remove now useless include of unistd.h, fix wrong argument
authorOwen Taylor <otaylor@redhat.com>
Fri, 19 Oct 2001 17:03:14 +0000 (17:03 +0000)
committerOwen Taylor <otaylor@src.gnome.org>
Fri, 19 Oct 2001 17:03:14 +0000 (17:03 +0000)
Fri Oct 19 12:49:12 2001  Owen Taylor  <otaylor@redhat.com>

        * tests/testsocket.c: Remove now useless include of unistd.h,
        fix wrong argument gtk_socket_steal. (Hans Breuer, #58541)

ChangeLog
ChangeLog.pre-2-0
ChangeLog.pre-2-10
ChangeLog.pre-2-2
ChangeLog.pre-2-4
ChangeLog.pre-2-6
ChangeLog.pre-2-8
tests/testsocket.c

index 27f8b8ba8b545b2ea3891713686cc87355f25fbb..96454238387503fe53d8fa77df33265512f82912 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+Fri Oct 19 12:49:12 2001  Owen Taylor  <otaylor@redhat.com>
+
+       * tests/testsocket.c: Remove now useless include of unistd.h,
+       fix wrong argument gtk_socket_steal. (Hans Breuer, #58541)
+       
 Fri Oct 19 12:24:32 2001  Owen Taylor  <otaylor@redhat.com>
 
        * gdk/linux-fb/gdkfont-fb.c: Fix up for change to 
index 27f8b8ba8b545b2ea3891713686cc87355f25fbb..96454238387503fe53d8fa77df33265512f82912 100644 (file)
@@ -1,3 +1,8 @@
+Fri Oct 19 12:49:12 2001  Owen Taylor  <otaylor@redhat.com>
+
+       * tests/testsocket.c: Remove now useless include of unistd.h,
+       fix wrong argument gtk_socket_steal. (Hans Breuer, #58541)
+       
 Fri Oct 19 12:24:32 2001  Owen Taylor  <otaylor@redhat.com>
 
        * gdk/linux-fb/gdkfont-fb.c: Fix up for change to 
index 27f8b8ba8b545b2ea3891713686cc87355f25fbb..96454238387503fe53d8fa77df33265512f82912 100644 (file)
@@ -1,3 +1,8 @@
+Fri Oct 19 12:49:12 2001  Owen Taylor  <otaylor@redhat.com>
+
+       * tests/testsocket.c: Remove now useless include of unistd.h,
+       fix wrong argument gtk_socket_steal. (Hans Breuer, #58541)
+       
 Fri Oct 19 12:24:32 2001  Owen Taylor  <otaylor@redhat.com>
 
        * gdk/linux-fb/gdkfont-fb.c: Fix up for change to 
index 27f8b8ba8b545b2ea3891713686cc87355f25fbb..96454238387503fe53d8fa77df33265512f82912 100644 (file)
@@ -1,3 +1,8 @@
+Fri Oct 19 12:49:12 2001  Owen Taylor  <otaylor@redhat.com>
+
+       * tests/testsocket.c: Remove now useless include of unistd.h,
+       fix wrong argument gtk_socket_steal. (Hans Breuer, #58541)
+       
 Fri Oct 19 12:24:32 2001  Owen Taylor  <otaylor@redhat.com>
 
        * gdk/linux-fb/gdkfont-fb.c: Fix up for change to 
index 27f8b8ba8b545b2ea3891713686cc87355f25fbb..96454238387503fe53d8fa77df33265512f82912 100644 (file)
@@ -1,3 +1,8 @@
+Fri Oct 19 12:49:12 2001  Owen Taylor  <otaylor@redhat.com>
+
+       * tests/testsocket.c: Remove now useless include of unistd.h,
+       fix wrong argument gtk_socket_steal. (Hans Breuer, #58541)
+       
 Fri Oct 19 12:24:32 2001  Owen Taylor  <otaylor@redhat.com>
 
        * gdk/linux-fb/gdkfont-fb.c: Fix up for change to 
index 27f8b8ba8b545b2ea3891713686cc87355f25fbb..96454238387503fe53d8fa77df33265512f82912 100644 (file)
@@ -1,3 +1,8 @@
+Fri Oct 19 12:49:12 2001  Owen Taylor  <otaylor@redhat.com>
+
+       * tests/testsocket.c: Remove now useless include of unistd.h,
+       fix wrong argument gtk_socket_steal. (Hans Breuer, #58541)
+       
 Fri Oct 19 12:24:32 2001  Owen Taylor  <otaylor@redhat.com>
 
        * gdk/linux-fb/gdkfont-fb.c: Fix up for change to 
index 27f8b8ba8b545b2ea3891713686cc87355f25fbb..96454238387503fe53d8fa77df33265512f82912 100644 (file)
@@ -1,3 +1,8 @@
+Fri Oct 19 12:49:12 2001  Owen Taylor  <otaylor@redhat.com>
+
+       * tests/testsocket.c: Remove now useless include of unistd.h,
+       fix wrong argument gtk_socket_steal. (Hans Breuer, #58541)
+       
 Fri Oct 19 12:24:32 2001  Owen Taylor  <otaylor@redhat.com>
 
        * gdk/linux-fb/gdkfont-fb.c: Fix up for change to 
index de143b3e5a9d3755e5e9a8590b36f5f99bf8923f..149be0149e6184b8eb29e7c1d9b03653969029a3 100644 (file)
@@ -3,7 +3,6 @@
 #include <string.h>
 #include <stdlib.h>
 #include <stdio.h>
-#include <unistd.h>
 
 int n_children = 0;
 
@@ -131,7 +130,7 @@ steal (GtkWidget *window, GtkEntry *entry)
   gtk_box_pack_start (GTK_BOX (vbox), socket->box, TRUE, TRUE, 0);
   gtk_widget_show (socket->box);
 
-  gtk_socket_steal (GTK_SOCKET (socket), xid);
+  gtk_socket_steal (GTK_SOCKET (socket->socket), xid);
 }
 
 void